package com.endurance.mapper;

import com.endurance.pojo.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Author: sunlin
 * @Date: 2024-05-11 9:02
 * @Version: 1.0
 * @Description: 用户
 */
@Mapper
public interface UserMapper {

    @Select("select * from user where id = #{userId}")
    UserEntity getUser(Integer userId);

}
